package cn.dyhack.bibiscan.dto;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import cn.dyhack.bibiscan.po.tables.pojos.User;
import cn.dyhack.bibiscan.vo.VoUser;

@Mapper
public interface UserMap {
    
    UserMap INSTANCE = Mappers.getMapper(UserMap.class);
    
    /**
     * 
     * 把bo层的用户对象转换为vo层的对象
     *
     * @param user Bo层用户对象
     * @return vo层user对象
     * @author zhangke
     * @since 1.0.0
     */
    
    public VoUser toVoUser(User user);
    
    
    

}
